/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package admin;

/**
 *
 * @author LL
 */
public class Adminstrator {
    private String name = "admin";
    private String password = "admin";
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    public boolean login(String tName, String tPass){
        if(this.getName().equals(tName) && this.getPassword().equals(tPass))
            return true;
        else
            return false;
    }
}
